<!DOCTYPE html>

<head>
    <meta charset="UTF-8">
    <script src="../jQuery-3.6.3.min.js"> </script>
    <script>
        $(function () {
            $("img").hover(function () {
                $(this).fadeTo(200, 0.6);
            }, function () {
                $(this).fadeTo(200, 1.0);
            })
        })
    </script>
</head>

<body>
    <img src="../图片/1.jpg" alt="">

</body>

</html>